package org.itboys.mobile.dto;

import org.itboys.mobile.dto.common.MobileBaseDto;

import java.math.BigDecimal;

/**
 * Created by zhangyang on 2018/2/1.
 * 圣代_社区动态_商品_dto
 */
public class SundayCommunityDynamicProductDto extends MobileBaseDto{

    private Long mainId;//动态id
    private Long productId;//商品id
    private String name;//商品名称
    private String image;//商品图片
    private BigDecimal price;//商品价格

    public SundayCommunityDynamicProductDto() {
    }

    public SundayCommunityDynamicProductDto(Long productId, String name, String image, BigDecimal price) {
        this.productId = productId;
        this.name = name;
        this.image = image;
        this.price = price;
    }

    public SundayCommunityDynamicProductDto(Long mainId, Long productId, String name, String image, BigDecimal price) {
        this.mainId = mainId;
        this.productId = productId;
        this.name = name;
        this.image = image;
        this.price = price;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Long getMainId() {
        return mainId;
    }

    public void setMainId(Long mainId) {
        this.mainId = mainId;
    }
}
